home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / System / WBReboot / Install < prev    next >
Text File  |  2000-05-13  |  2KB  |  110 lines

  1. ; $VER: WBReboot Version 1.10 Install 
  2. ; (c) 2000 Andrew Dixon
  3.  
  4. ;Procedures
  5.  
  6. (procedure copytools
  7.     (copyfiles
  8.         (source "bin/WBReboot1.0")
  9.         (dest "SYS:WBStartup")
  10.     )
  11. (chooseicons1)
  12. )
  13.  
  14.  
  15. (procedure copycommod
  16.     (copyfiles
  17.         (source "bin/WBReboot1.0c")
  18.         (dest "SYS:WBStartup")
  19.     )
  20. (chooseicons2)
  21. )
  22.  
  23.  
  24. (procedure chooseicons1
  25. (if
  26.     (= 0
  27.         (askchoice
  28.             (prompt "Please choose your icon set")
  29.             (choices "32 Colour Newicons" "4 Colour Standard Icons")
  30.             (help "The installer is asking which icon set you would like installed. For the 256 colour icons you must be running NewIcons, otherwise choose the 4 colour icons.")
  31.             (default 1)
  32.         )
  33.     )
  34.    (copynicons1)
  35.    (copyicons1)
  36. )
  37. )
  38.  
  39.  
  40. (procedure chooseicons2
  41. (if
  42.     (= 0
  43.         (askchoice
  44.             (prompt "Please choose your icon set")
  45.             (choices "32 Colour Newicons" "4 Colour Standard Icons")
  46.             (help "The installer is asking which icon set you would like installed. For the 256 colour icons you must be running NewIcons, otherwise choose the 4 colour icons.")
  47.             (default 1)
  48.         )
  49.     )
  50.    (copynicons2)
  51.    (copyicons2)
  52. )
  53. )
  54.  
  55.  
  56. (procedure copynicons1
  57.     (copyfiles
  58.         (source "icons/WBReboot_NI.info")
  59.         (newname "WBReboot1.0.info")
  60.         (dest "SYS:WBStartup")
  61.     )
  62. )
  63.  
  64.  
  65. (procedure copyicons1
  66.     (copyfiles
  67.         (source "icons/WBReboot_4col.info")
  68.         (newname "WBReboot1.0.info")
  69.         (dest "SYS:WBStartup")
  70.     )
  71. )
  72.  
  73.  
  74. (procedure copynicons2
  75.     (copyfiles
  76.         (source "icons/WBReboot_NI.info")
  77.         (newname "WBReboot1.0c.info")
  78.         (dest "SYS:WBStartup")
  79.     )
  80. )
  81.  
  82.  
  83. (procedure copyicons2
  84.     (copyfiles
  85.         (source "icons/WBReboot_4col.info")
  86.         (newname "WBReboot1.0c.info")
  87.         (dest "SYS:WBStartup")
  88.     )
  89. )
  90.  
  91.  
  92. ;Introduction message
  93.  
  94. (message "Welcome to the WBReboot 1.10 Installation Utility\n (c) 2000 Andrew Dixon. ")
  95.  
  96. (if
  97.     (= 0
  98.         (askchoice
  99.             (prompt "Please choose which version to install")
  100.             (choices "Tools Menu Version" "Commodity Version")
  101.             (help "The installer is asking which version of WBReboot you would like to install.")
  102.             (default 0)
  103.         )
  104.     )
  105.    (copytools)
  106.    (copycommod)
  107. )
  108.  
  109. (message "Installation is complete!")
  110. (exit)